{% extends "base.html" %}

{% block content %}
  <h2>{% if '/review/commit/' in full_path %}提交{% else %}撰写{% endif %}回顾</h2>
<div class="pageContent">
  <form action="{{full_path}}" method="post">
      {% csrf_token %}
      {{ form.as_p }}
          {% if '/review/compose/' in full_path %}
          <input type="submit" name="ok" id="id_ok" value="保存" />
          {% endif %}
          {% if '/review/commit/' in full_path %}
          <input type="submit" name="commit" id="id_is_commit" value="提交" />
          {%endif%}
  </form>
</div>
{% endblock %}